#ifndef CONTACTFORM_H
#define CONTACTFORM_H

#include <QWidget>

#include "contactform/friendlistform.h"
#include "contactform/roomlistform.h"
#include <forms/mainwindow/WindowManager.h>

namespace Ui {
class ContactForm;
}

class ContactForm : public QWidget
{
    Q_OBJECT

public:
    explicit ContactForm(WindowManager*manager, QWidget *parent = nullptr);
    ~ContactForm();
public:

protected:
    void init();

signals:
    void signalToggle();

protected slots:
    void onSignalToggle();


private:
    Ui::ContactForm *ui;
    FriendListForm *friendListForm = nullptr;
    RoomListForm *roomListForm = nullptr;
    WindowManager &windowManager;
};

#endif // CONTACTFORM_H
